@mark_m said:

best of all possible ways

 I guess that would depend on what you are expecting?
I have an example file (I need to test it again to determine how complete it is) that uses Pythoner to connect and stream a RTSP stream.
This doesn't provide sound, and can run OpenCV or FFmpeg as backends.
If you have a test URL, I could test this and send you a working file if it will suite your needs?